using Finance.Api.Read.Dtos;
using Finance.Domain;
using Finance.ErrorCode;
using MediatR;

namespace Finance.Api.Read.Applications.Commands.台账管理
{
    public class ProductAlertQueryCommand : IRequest<ApiResult<ApiPaging<List<ProductAlertDto>>>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int index { get; set; }

        /// <summary>
        /// 每页大小
        /// </summary>
        public int size { get; set; }

        /// <summary>
        /// 货品名称
        /// </summary>
        public string? ProductName { get; set; }

        /// <summary>
        /// 货品类型
        /// </summary>
        public string? ProductType { get; set; }

        /// <summary>
        /// 上下限状态 1-低于下限 2-高于上限 3-上下限之间
        /// </summary>
        public int? AlertType { get; set; }

        /// <summary>
        /// 当前库存最小值
        /// </summary>
        public int? ProductNumMin { get; set; }

        /// <summary>
        /// 当前库存最大值
        /// </summary>
        public int? ProductNumMax { get; set; }
    }
} 